/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.dtn.wsn.entity;

/**
 * Data entity
 * 
 * @author hao
 */
public class Data {
    private int sensingId;
    private int gatewayId;
    private int spotId;
    private String timestample;
    private double temperature;
    private int lightLevel;
    private double battery;

    public Data(int sensingId, int gatewayId, int spotId, String timestample, double temperature, int lightLevel, double battery) {
        this.sensingId = sensingId;
        this.gatewayId = gatewayId;
        this.spotId = spotId;
        this.timestample = timestample;
        this.temperature = temperature;
        this.lightLevel = lightLevel;
        this.battery = battery;
    }

    public Data() {
    }

    public void setBattery(double battery) {
        this.battery = battery;
    }

    public void setGatewayId(int gatewayId) {
        this.gatewayId = gatewayId;
    }

    public void setLightLevel(int lightLevel) {
        this.lightLevel = lightLevel;
    }

    public void setSensingId(int sensingId) {
        this.sensingId = sensingId;
    }

    public void setSpotId(int spotId) {
        this.spotId = spotId;
    }

    public void setTemperature(double temperature) {
        this.temperature = temperature;
    }

    public void setTimestample(String timestample) {
        this.timestample = timestample;
    }

    public double getBattery() {
        return battery;
    }

    public int getGatewayId() {
        return gatewayId;
    }

    public int getLightLevel() {
        return lightLevel;
    }

    public int getSensingId() {
        return sensingId;
    }

    public int getSpotId() {
        return spotId;
    }

    public double getTemperature() {
        return temperature;
    }

    public String getTimestample() {
        return timestample;
    }
           
}
